package com.cm.sys.system.service.impl;

import com.cm.sys.system.dao.UserTestMapper;
import com.cm.sys.system.entity.UserTest;
import com.cm.sys.system.service.UserTestService;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

public class UserTestServiceImp implements UserTestService {

    @Autowired
    private UserTestMapper userTestMapper;

    @Override
    public int deleteByPrimaryKey(Integer userId) {
        return 0;
    }

    @Override
    public int insert(UserTest record) {
       int count  = userTestMapper.insert(record);
       return count;
    }

    @Override
    public UserTest selectByPrimaryKey(Integer userId) {
        return null;
    }

    @Override
    public List<UserTest> selectAll() {
        return userTestMapper.selectAll();
    }

    @Override
    public int updateByPrimaryKey(UserTest record) {
        return 0;
    }
}
